using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using Gammar.Digger.Entity;
using Gammar.Digger.SystemFramework;
namespace Gammar.Digger.IDAL
{
	public interface Iweb_site
	{
		//C
        int Add(web_siteEntity web_site);
		
		int AddPartial(web_siteEntity entity);

        //U
        int Update(web_siteEntity web_site);

        int Updatepartial(web_siteEntity entity, string where);

		int UpdateBysite_id(web_siteEntity web_site);
		
        //D
        int Delete(string where);

        //R
        object GetCell(string cellName, string where);

        web_siteEntity GetEntity(int primaryKeyId);

        DataTable GetTable(string where);

        SortList<web_siteEntity> GetList(string strWhere);

        List<web_siteEntity> GetPartial(string[] selectedFields,string where);
	}
}

